'''

'''
list = [1, 2, 6, 9, 6]
t = 3

def twoSum(list, t):
    for i in range(list):
        if i == t:
            x = list.index(list)
            return i, x
        else:
            for j in range(list):
                sum = i + j
                if sum == t:
                    x = list.index(list)
                    y = list.index(list)
                    return i, j, x, y

twoSum(list,t)
